package com.xiaoma.bridge;
/**
 * @description  实现了 Shape 抽象类的实体类
 * @author wangtianxiang
 * @date: 2021/7/8 9:10
 */
public class Circle extends Shape {

    private int x, y, radius;

    public Circle(int x, int y, int radius, DrawAPI drawAPI) {
        super(drawAPI);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }
    @Override
    public void draw() {
        drawAPI.drawCircle(radius,x,y);
    }
}
